/*    */ package com.zimbra.cs.html;
/*    */ 
/*    */ import java.io.IOException;
/*    */ import java.io.InputStream;
/*    */ import java.io.Reader;
/*    */ import java.io.StringReader;
/*    */ import java.io.StringWriter;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public abstract class AbstractDefang
/*    */   implements BrowserDefang
/*    */ {
/*    */   public String defang(String html, boolean neuterImages)
/*    */     throws IOException
/*    */   {
/* 36 */     return defang(new StringReader(html), neuterImages);
/*    */   }
/*    */   
/*    */   public String defang(InputStream html, boolean neuterImages) throws IOException
/*    */   {
/* 41 */     StringWriter writer = new StringWriter();
/* 42 */     defang(html, neuterImages, writer);
/* 43 */     return writer.toString();
/*    */   }
/*    */   
/*    */   public String defang(Reader htmlReader, boolean neuterImages)
/*    */     throws IOException
/*    */   {
/* 49 */     StringWriter writer = new StringWriter();
/* 50 */     defang(htmlReader, neuterImages, writer);
/* 51 */     return writer.toString();
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/html/AbstractDefang.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */